import { session } from "@/utils/utils";
export default [
    {
        path: "yonghu/add",
        name: "IndexyonghuAdd",
        component: () => import("@/views/yonghu/add-web.vue"),
        meta: { title: "用户添加" },
    },
    {
        path: "shangpinxinxi",
        name: "IndexshangpinxinxiList",
        component: () => import("@/views/shangpinxinxi/index.vue"),
        meta: { title: "商品信息列表" },
    },
    {
        path: "shangpinxinxi/detail",
        name: "IndexshangpinxinxiDetail",
        props: (route) => ({ id: route.query.id }),
        component: () => import("@/views/shangpinxinxi/detail-web.vue"),
        meta: { title: "商品信息详情", authLogin: true, msg: true },
    },
    {
        path: "gouwuche/add",
        name: "IndexgouwucheAdd",
        props: (route) => ({ id: route.query.id }),
        component: () => import("@/views/gouwuche/add-web.vue"),
        meta: { title: "购物车添加", authLogin: true, msg: true },
    },
    {
        path: "shangpindingdan/add",
        name: "IndexshangpindingdanAdd",
        component: () => import("@/views/shangpindingdan/add-web.vue"),
        meta: { title: "商品订单添加", authLogin: true, msg: true },
    },
    {
        path: "shoucang/add",
        name: "IndexshoucangAdd",
        component: () => import("@/views/shoucang/add-web.vue"),
        meta: { title: "收藏添加", authLogin: true, msg: true },
    },
    {
        path: "liuyanban/add",
        name: "IndexliuyanbanAdd",
        component: () => import("@/views/liuyanban/add-web.vue"),
        meta: { title: "留言板添加", authLogin: true, msg: true },
    },
    {
        path: "siliao/add",
        name: "IndexsiliaoAdd",
        component: () => import("@/views/siliao/add-web.vue"),
        meta: { title: "私聊添加", authLogin: true, msg: true },
    },
];
